// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Http from './service/http.js'
import store from './store/index' //引入Vuex
import axios from 'axios'
import fastClick from 'fastclick'
import './assets/style/reset.css' // 入口文件引入样式重置文件
import './assets/style/border.css'
import './assets/style/mixins.css'//自定义公共样式
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import store from '@/store/index.vue'
// require styles
import 'swiper/dist/css/swiper.css'
// 把Http挂载到Vue实例上
Vue.prototype.$Http = Http

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.prototype.$axios = axios
Vue.use(VueAwesomeSwiper /* { default global options } */)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
